package com.molyfun.parents.utils;

import java.util.HashMap;

/**
 * Created by william(liuchao.hit@gmail.com).
 * Date:9/19/16.
 */
public class Const {

    public static final int RES_NONE = 0;

    public static final int TOPIC_PUBLIC = 1;

    public static final int TOPIC_PRIVATE = 0;

    public static final String DB_NAME = "mfp_db";

    //1:回复 2:评论
    public static final int TOPIC_REPLY = 1;

    public static final int TOPIC_COMMENT = 2;

    public static final String FLAG_TITLE = "title";

    public static final String FLAG_CONTENT = "content";

    public static final String FLAG_HINT = "hint";

    public static final String FLAG_TARGET = "target";

    public static final String FLAG_NATIVE = "use_native";

    public static final String COURSE_ID = "course_id";

    public static final String COURSE_BEAN = "course_bean";

    public static final String SHOW_INVITE = "show_invite";

    public static final String COURSE_FEEDBACK_TIME = "course_feedback_time";

    public static final String COURSE_FEEDBACK_BEAN = "course_feedback_bean";

    public static final String COURSE_DOWNLOAD_ID = "course_download_id";

    public static final String REPORT_ID = "report_id";

    public static final String FLAG_TIME_INTERVAL = "time_interval";

    public static final String REPORT_FEEDBACK_BEAN = "report_feedback_bean";

    public static final String PLAN_ID = "plan_id";

    public static final String DETAIL_ID = "detail_id";

    public static final String TOPIC_ID = "topic_id";

    public static final String USER_ID = "user_id";

    public static final String IS_ANONYMOUS = "is_anonymous";

    public static final String FLAG_VIDEO_URL = "video_url";

    public static final String FLAG_VIDEO_TITLE = "video_title";

    public static final String FALSE = "n";

    public static final String TRUE = "y";

    public static final String PARAM_TOPIC_BEFORE = "before";

    public static final String PARAM_TOPIC_AFTER = "after";

    public static final String MSG_BEAN = "msg_bean";

    public static final String MSG_ID = "msg_id";

    public static final String MAIN_CHOOSED_TAB = "choosed_tab";

    public static final String PRODUCT_ID = "product_id";

    public static final String DEPART_ID = "depart_id";

    public static final String DEPART_NAME = "depart_name";

    public static final String STUDENT_ID = "student_id";

    public static final String TEACHER_ID = "teacher_id";

    public static final String TEACHER_BEAN = "teacher_bean";

    public static final String PRODUCT_DETAIL_BEAN = "product_detail_bean";

    public static final String PRODUCT_DETAIL_BEAN_LIST = "product_detail_list";

    public static final String HOT_TOPIC_ID = "hot_topid_id";

    public static final String ORDER_ID = "order_id";

    public static final String ORDER_BEAN = "order_bean";

    public static final String EMPTY_STR = "empty_str";

    public static final String GROUP_ID = "group_id";

    public static final String TEAM_RULE = "team_rule";

    public static final String NEW_TEAM_TRAINING_BEAN_LIST = "new_team_training_bean_list";

    public static final int MAIN_TAB_COURSE = 1001;

    public static final int MAIN_TAB_HOMEWORK = 1002;

    public static final String CHATROWPRODUCT_CHAR = "";

    public static final int CHATROWPRODUCT = 1004;

    public static final int MAIN_TAB_MSG = 1003;

    public static final String UTF_8 = "utf-8";

    public static final String VIDEO_COVER_SUFFIX = "&vframe/png/offset/0/w/480/h/480";

    public static final String VIDEO_COVER_SUFFIX_WITHOUT_HOTLINK = "?vframe/png/offset/1/w/480/h/480";

    public static final String FLAG_REFUND_AMOUNT = "refund_amount";

    public static final String FLAG_REFUND_REASON = "refund_reason";


    //0未下载 1未完成 2完成 3失败
    public static final int DOWNLOAD_STATE_NONE = 0;
    public static final int DOWNLOAD_STATE_DOWNLOADING = 1;
    public static final int DOWNLOAD_STATE_FINISHED = 2;
    public static final int DOWNLOAD_STATE_FAILED = 3;

    //用于课程反馈列表页展示时间(课程Model中没有，时间从Fragment传递到view，再传递到Activity比较乱)
    public static String CURRENT_COURSE_DAY_STR = "";

    public static String ORGANIZATION_SCAN_URL = "http://192.168.3.191:8081/#/apply/login?code=A0000004&departid=8a2d9263540d4e2f01540d57421b0001";

    /**
     *mTeamBeanId prog
     缓存直播id和状态,因为直播的时候，别的界面销毁了，收不到状态
     */
    public static HashMap<String, String> sZhiboStateCache = new HashMap<>();

}
